﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000815 RID: 2069
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetSceneMapInfoCsReq : IMessage<GetSceneMapInfoCsReq>, IMessage, IEquatable<GetSceneMapInfoCsReq>, IDeepCloneable<GetSceneMapInfoCsReq>, IBufferMessage
	{
		// Token: 0x17001A3F RID: 6719
		// (get) Token: 0x06005CC6 RID: 23750 RVA: 0x000F8847 File Offset: 0x000F6A47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetSceneMapInfoCsReq> Parser
		{
			get
			{
				return GetSceneMapInfoCsReq._parser;
			}
		}

		// Token: 0x17001A40 RID: 6720
		// (get) Token: 0x06005CC7 RID: 23751 RVA: 0x000F884E File Offset: 0x000F6A4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetSceneMapInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A41 RID: 6721
		// (get) Token: 0x06005CC8 RID: 23752 RVA: 0x000F8860 File Offset: 0x000F6A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetSceneMapInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06005CC9 RID: 23753 RVA: 0x000F8867 File Offset: 0x000F6A67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSceneMapInfoCsReq()
		{
		}

		// Token: 0x06005CCA RID: 23754 RVA: 0x000F887C File Offset: 0x000F6A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSceneMapInfoCsReq(GetSceneMapInfoCsReq other) : this()
		{
			this.fLEPBOMHCNE_ = other.fLEPBOMHCNE_;
			this.contentId_ = other.contentId_;
			this.entryIdList_ = other.entryIdList_.Clone();
			this.entryStoryLineId_ = other.entryStoryLineId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005CCB RID: 23755 RVA: 0x000F88D5 File Offset: 0x000F6AD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSceneMapInfoCsReq Clone()
		{
			return new GetSceneMapInfoCsReq(this);
		}

		// Token: 0x17001A42 RID: 6722
		// (get) Token: 0x06005CCC RID: 23756 RVA: 0x000F88DD File Offset: 0x000F6ADD
		// (set) Token: 0x06005CCD RID: 23757 RVA: 0x000F88E5 File Offset: 0x000F6AE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FLEPBOMHCNE
		{
			get
			{
				return this.fLEPBOMHCNE_;
			}
			set
			{
				this.fLEPBOMHCNE_ = value;
			}
		}

		// Token: 0x17001A43 RID: 6723
		// (get) Token: 0x06005CCE RID: 23758 RVA: 0x000F88EE File Offset: 0x000F6AEE
		// (set) Token: 0x06005CCF RID: 23759 RVA: 0x000F88F6 File Offset: 0x000F6AF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ContentId
		{
			get
			{
				return this.contentId_;
			}
			set
			{
				this.contentId_ = value;
			}
		}

		// Token: 0x17001A44 RID: 6724
		// (get) Token: 0x06005CD0 RID: 23760 RVA: 0x000F88FF File Offset: 0x000F6AFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntryIdList
		{
			get
			{
				return this.entryIdList_;
			}
		}

		// Token: 0x17001A45 RID: 6725
		// (get) Token: 0x06005CD1 RID: 23761 RVA: 0x000F8907 File Offset: 0x000F6B07
		// (set) Token: 0x06005CD2 RID: 23762 RVA: 0x000F890F File Offset: 0x000F6B0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EntryStoryLineId
		{
			get
			{
				return this.entryStoryLineId_;
			}
			set
			{
				this.entryStoryLineId_ = value;
			}
		}

		// Token: 0x06005CD3 RID: 23763 RVA: 0x000F8918 File Offset: 0x000F6B18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetSceneMapInfoCsReq);
		}

		// Token: 0x06005CD4 RID: 23764 RVA: 0x000F8928 File Offset: 0x000F6B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetSceneMapInfoCsReq other)
		{
			return other != null && (other == this || (this.FLEPBOMHCNE == other.FLEPBOMHCNE && this.ContentId == other.ContentId && this.entryIdList_.Equals(other.entryIdList_) && this.EntryStoryLineId == other.EntryStoryLineId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005CD5 RID: 23765 RVA: 0x000F8998 File Offset: 0x000F6B98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FLEPBOMHCNE)
			{
				num ^= this.FLEPBOMHCNE.GetHashCode();
			}
			if (this.ContentId != 0U)
			{
				num ^= this.ContentId.GetHashCode();
			}
			num ^= this.entryIdList_.GetHashCode();
			if (this.EntryStoryLineId != 0U)
			{
				num ^= this.EntryStoryLineId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005CD6 RID: 23766 RVA: 0x000F8A17 File Offset: 0x000F6C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005CD7 RID: 23767 RVA: 0x000F8A1F File Offset: 0x000F6C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005CD8 RID: 23768 RVA: 0x000F8A28 File Offset: 0x000F6C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ContentId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.ContentId);
			}
			if (this.FLEPBOMHCNE)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.FLEPBOMHCNE);
			}
			this.entryIdList_.WriteTo(ref output, GetSceneMapInfoCsReq._repeated_entryIdList_codec);
			if (this.EntryStoryLineId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.EntryStoryLineId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005CD9 RID: 23769 RVA: 0x000F8AB0 File Offset: 0x000F6CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FLEPBOMHCNE)
			{
				num += 2;
			}
			if (this.ContentId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ContentId);
			}
			num += this.entryIdList_.CalculateSize(GetSceneMapInfoCsReq._repeated_entryIdList_codec);
			if (this.EntryStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EntryStoryLineId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005CDA RID: 23770 RVA: 0x000F8B28 File Offset: 0x000F6D28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetSceneMapInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FLEPBOMHCNE)
			{
				this.FLEPBOMHCNE = other.FLEPBOMHCNE;
			}
			if (other.ContentId != 0U)
			{
				this.ContentId = other.ContentId;
			}
			this.entryIdList_.Add(other.entryIdList_);
			if (other.EntryStoryLineId != 0U)
			{
				this.EntryStoryLineId = other.EntryStoryLineId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005CDB RID: 23771 RVA: 0x000F8B9D File Offset: 0x000F6D9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005CDC RID: 23772 RVA: 0x000F8BA8 File Offset: 0x000F6DA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 48U)
					{
						this.ContentId = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.FLEPBOMHCNE = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 80U || num == 82U)
					{
						this.entryIdList_.AddEntriesFrom(ref input, GetSceneMapInfoCsReq._repeated_entryIdList_codec);
						continue;
					}
					if (num == 88U)
					{
						this.EntryStoryLineId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040023DA RID: 9178
		private static readonly MessageParser<GetSceneMapInfoCsReq> _parser = new MessageParser<GetSceneMapInfoCsReq>(() => new GetSceneMapInfoCsReq());

		// Token: 0x040023DB RID: 9179
		private UnknownFieldSet _unknownFields;

		// Token: 0x040023DC RID: 9180
		public const int FLEPBOMHCNEFieldNumber = 8;

		// Token: 0x040023DD RID: 9181
		private bool fLEPBOMHCNE_;

		// Token: 0x040023DE RID: 9182
		public const int ContentIdFieldNumber = 6;

		// Token: 0x040023DF RID: 9183
		private uint contentId_;

		// Token: 0x040023E0 RID: 9184
		public const int EntryIdListFieldNumber = 10;

		// Token: 0x040023E1 RID: 9185
		private static readonly FieldCodec<uint> _repeated_entryIdList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x040023E2 RID: 9186
		private readonly RepeatedField<uint> entryIdList_ = new RepeatedField<uint>();

		// Token: 0x040023E3 RID: 9187
		public const int EntryStoryLineIdFieldNumber = 11;

		// Token: 0x040023E4 RID: 9188
		private uint entryStoryLineId_;
	}
}
